package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Getter
@Setter
public class SystemMessage extends BaseDomain{
    //状态 0 未读 1 已读
    public static final Integer STATE_UNREAD = 0;
    public static final Integer STATE_READED = 1;
    //内容
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    //发送给谁
    private Long userId;
    //状态 0 未读 1 已读
    private Integer state;

}